package mongodb.general.operator.mongoHelper.common.dommin;

import lombok.Data;
import mongodb.general.operator.mongoHelper.common.annotations.CreateTime;
import mongodb.general.operator.mongoHelper.common.annotations.UpdateTime;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@Data
public class BaseModel implements Serializable {
	@Id
    String id;
	@CreateTime
    Long createTime;
	@UpdateTime
    Long updateTime;
}
